Optimal. Leaf size=72 \[ \frac{2 c^2 \tanh ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{a x^2+b x^n}}\right )}{a^{3/2} (2-n)}-\frac{2 c^2 x}{a (2-n) \sqrt{a x^2+b x^n}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0880041, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {12, 2030, 2008, 206} \[ \frac{2 c^2 \tanh ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{a x^2+b x^n}}\right )}{a^{3/2} (2-n)}-\frac{2 c^2 x}{a (2-n) \sqrt{a x^2+b x^n}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2030
Rule 2008
Rule 206
Rubi steps
\begin{align*} \int \frac{c^2 x^2}{\left (a x^2+b x^n\right )^{3/2}} \, dx &=c^2 \int \frac{x^2}{\left (a x^2+b x^n\right )^{3/2}} \, dx\\ &=-\frac{2 c^2 x}{a (2-n) \sqrt{a x^2+b x^n}}+\frac{c^2 \int \frac{1}{\sqrt{a x^2+b x^n}} \, dx}{a}\\ &=-\frac{2 c^2 x}{a (2-n) \sqrt{a x^2+b x^n}}+\frac{\left (2 c^2\right ) \operatorname{Subst}\left (\int \frac{1}{1-a x^2} \, dx,x,\frac{x}{\sqrt{a x^2+b x^n}}\right )}{a (2-n)}\\ &=-\frac{2 c^2 x}{a (2-n) \sqrt{a x^2+b x^n}}+\frac{2 c^2 \tanh ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{a x^2+b x^n}}\right )}{a^{3/2} (2-n)}\\ \end{align*}
Mathematica [A] time = 0.138729, size = 91, normalized size = 1.26 \[ \frac{2 c^2 \left (\sqrt{a} x-\sqrt{b} x^{n/2} \sqrt{\frac{a x^{2-n}}{b}+1} \sinh ^{-1}\left (\frac{\sqrt{a} x^{1-\frac{n}{2}}}{\sqrt{b}}\right )\right )}{a^{3/2} (n-2) \sqrt{a x^2+b x^n}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.319, size = 0, normalized size = 0. \begin{align*} \int{{c}^{2}{x}^{2} \left ( a{x}^{2}+b{x}^{n} \right ) ^{-{\frac{3}{2}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} c^{2} \int \frac{x^{2}}{{\left (a x^{2} + b x^{n}\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} c^{2} \int \frac{x^{2}}{a x^{2} \sqrt{a x^{2} + b x^{n}} + b x^{n} \sqrt{a x^{2} + b x^{n}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{c^{2} x^{2}}{{\left (a x^{2} + b x^{n}\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]